package tech.abing.spider.monitor;

import tech.abing.spider.request.PageRequest;

/**
 * 监听爬虫处理的页面请求，用于监控爬取的结果状态
 * @author Ivan qb.huang@wescxx.com   
 * @date 2016-11-11 上午10:22:22 
 * @version V2.0
 */
public interface SpiderListener {

    public void onSuccess(PageRequest request);

    public void onError(PageRequest request);
}
